package com.qcby.mybatis01.mapper;

import com.qcby.mybatis01.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * @className: UserDao
 * @description:
 * @author: lxt
        * @create: 2021-06-01 10:04
        **/
@Mapper
public interface UserMapper {

     List<User> findAll(@Param("name666")String name,@Param("sex")int sex);
     List<User> findAll11(String name,int classId);
     List<User> findAll1(User user,int pageNo);
     List<User> findAllPage(int pageNo);
     List<User> findAll2(String pageNo);
     List<User> findList();


     List<User> findAll0620();


//     @Select("select * from user") // =>
     List<User> listAll(@Param("username") String username, @Param("sex") String sex);


}
